package com.small.push.bo;

import com.alibaba.fastjson.JSONObject;

import java.util.Map;

/**
 * @author dingyou
 * @version 1.0
 * @date 2019-01-10
 */
public class WeChatTemplateMsg extends PushMsg {
    /** 接收者openid */
    private Long toUser;
    /** 消息内容 */
    private JSONObject data;
    /** 跳转页面url附加参数 */
    private Map<String, Object> urlParams;

    public Long getToUser() {
        return toUser;
    }

    public WeChatTemplateMsg setToUser(Long toUser) {
        this.toUser = toUser;
        return this;
    }

    public JSONObject getData() {
        return data;
    }

    public WeChatTemplateMsg setData(JSONObject data) {
        this.data = data;
        return this;
    }

    public Map<String, Object> getUrlParams() {
        return urlParams;
    }

    public WeChatTemplateMsg setUrlParams(Map<String, Object> urlParams) {
        this.urlParams = urlParams;
        return this;
    }
}
